<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2024/1/18
 * Time: 14:05
 */

namespace app\model\api;


class Keyword extends Base
{
    public function getKeywordsAttr($value){
        if (is_string($value))
            $array = explode(',',$value);
        else
            return [];
        return $array;
    }
}